/*
               File: ModPrsN
        Description: Modificar Persona Natural
             Author: GeneXus C# Generator version 8_0_0-201
       Generated on: 21 de Setiembre de 2010 17:41:25.78
       Program type: Callable routine
          Main DBMS: sqlserver
*/
namespace GeneXus.Programs {
   using System;
   using System.Collections;
   using GeneXus.Utils;
   using GeneXus.Resources;
   using GeneXus.Application;
   using GeneXus.Metadata;
   using com.genexus;
   using com.genexus.ui;
   using com.genexus.uifactory;
   using GeneXus.Windows;
   using System.Data;
   using System.Data.SqlClient;
   using GeneXus.Data;
   using GeneXus.Data.FAT;
   using GeneXus.Http;
   using GeneXus.Procedure;
   using System.Threading;
   using GeneXus.XML;
   using GeneXus.Encryption;
   using GeneXus.Http.Client;
   public class pmodprsn_wrapper : GXJWin
   {
      public pmodprsn_wrapper( int hnd ,
                               ModelContext jContext ) : base(hnd, jContext)
      {
      }

   }

   public class pmodprsn : GXWinProcedure
   {
      public pmodprsn( int hnd ,
                       ModelContext jContext ) : base(hnd, jContext)
      {
         IsMain = true;
         context = new GxContext();
         context.DataStores.Add(new GxDataStore( new GxSqlServer(),"Default"));
         dsDefault = context.GetDataStore("Default") ;
      }

      public pmodprsn( )
      {
         context = new GxContext();
         context.DataStores.Add(new GxDataStore( new GxSqlServer(),"Default"));
         dsDefault = context.GetDataStore("Default") ;
         IsMain = true;
      }

      public pmodprsn( IGxContext context ) : base(-1, null)
      {
         this.context = context;
         IsMain = false;
         dsDefault = context.GetDataStore("Default") ;
      }

      public pmodprsn( IGxContext context ,
                       int hnd ,
                       ModelContext jContext ) : base(hnd, jContext)
      {
         this.context = context;
         IsMain = false;
         dsDefault = context.GetDataStore("Default") ;
      }

      public void execute( short aP0_Tipdoccod ,
                           String aP1_Prsnrodoc ,
                           String aP2_Prsprinom ,
                           String aP3_Prssegnom ,
                           String aP4_Prsapepat ,
                           String aP5_Prsapemat ,
                           DateTime aP6_Prsfecnac ,
                           String aP7_Prssex ,
                           short aP8_Estcivcod ,
                           short aP9_Prsnrodep ,
                           short aP10_Edunivcod ,
                           short aP11_Sitlabcod ,
                           String aP12_Prsucr ,
                           String aP13_Prsdir1 ,
                           String aP14_Prsdir2 ,
                           String aP15_Prsrefdir1 ,
                           String aP16_Prsrefdir2 ,
                           String aP17_Paicod1 ,
                           String aP18_Paicod2 ,
                           String aP19_Dptocod1 ,
                           String aP20_Dptocod2 ,
                           String aP21_Provcod1 ,
                           String aP22_Provcod2 ,
                           String aP23_Distcod1 ,
                           String aP24_Distcod2 ,
                           String aP25_Prsmai1 ,
                           String aP26_Prsmai2 ,
                           String aP27_Prsmai3 ,
                           out String aP28_Prscod )
      {
         this.AV10Tipdoc = aP0_Tipdoccod;
         this.AV11Prsnro = aP1_Prsnrodoc;
         this.AV12Prspri = aP2_Prsprinom;
         this.AV13Prsseg = aP3_Prssegnom;
         this.AV15Prsape = aP4_Prsapepat;
         this.AV14Prsape = aP5_Prsapemat;
         this.AV16Prsfec = aP6_Prsfecnac;
         this.AV17Prssex = aP7_Prssex;
         this.AV18Estciv = aP8_Estcivcod;
         this.AV19Prsnro = aP9_Prsnrodep;
         this.AV20Eduniv = aP10_Edunivcod;
         this.AV21Sitlab = aP11_Sitlabcod;
         this.AV23Prsucr = aP12_Prsucr;
         this.AV24Prsdir = aP13_Prsdir1;
         this.AV25Prsdir = aP14_Prsdir2;
         this.AV26Prsref = aP15_Prsrefdir1;
         this.AV27Prsref = aP16_Prsrefdir2;
         this.AV28Paicod = aP17_Paicod1;
         this.AV29Paicod = aP18_Paicod2;
         this.AV30Dptoco = aP19_Dptocod1;
         this.AV31Dptoco = aP20_Dptocod2;
         this.AV32Provco = aP21_Provcod1;
         this.AV33Provco = aP22_Provcod2;
         this.AV34Distco = aP23_Distcod1;
         this.AV35Distco = aP24_Distcod2;
         this.AV36Prsmai = aP25_Prsmai1;
         this.AV37Prsmai = aP26_Prsmai2;
         this.AV38Prsmai = aP27_Prsmai3;
         this.AV8Prscod = "" ;
         initialize();
         executePrivate();
         aP28_Prscod=this.AV8Prscod;
      }

      public void executeSubmit( short aP0_Tipdoccod ,
                                 String aP1_Prsnrodoc ,
                                 String aP2_Prsprinom ,
                                 String aP3_Prssegnom ,
                                 String aP4_Prsapepat ,
                                 String aP5_Prsapemat ,
                                 DateTime aP6_Prsfecnac ,
                                 String aP7_Prssex ,
                                 short aP8_Estcivcod ,
                                 short aP9_Prsnrodep ,
                                 short aP10_Edunivcod ,
                                 short aP11_Sitlabcod ,
                                 String aP12_Prsucr ,
                                 String aP13_Prsdir1 ,
                                 String aP14_Prsdir2 ,
                                 String aP15_Prsrefdir1 ,
                                 String aP16_Prsrefdir2 ,
                                 String aP17_Paicod1 ,
                                 String aP18_Paicod2 ,
                                 String aP19_Dptocod1 ,
                                 String aP20_Dptocod2 ,
                                 String aP21_Provcod1 ,
                                 String aP22_Provcod2 ,
                                 String aP23_Distcod1 ,
                                 String aP24_Distcod2 ,
                                 String aP25_Prsmai1 ,
                                 String aP26_Prsmai2 ,
                                 String aP27_Prsmai3 ,
                                 out String aP28_Prscod )
      {
         pmodprsn objpmodprsn;
         objpmodprsn = new pmodprsn();
         objpmodprsn.AV10Tipdoc = aP0_Tipdoccod;
         objpmodprsn.AV11Prsnro = aP1_Prsnrodoc;
         objpmodprsn.AV12Prspri = aP2_Prsprinom;
         objpmodprsn.AV13Prsseg = aP3_Prssegnom;
         objpmodprsn.AV15Prsape = aP4_Prsapepat;
         objpmodprsn.AV14Prsape = aP5_Prsapemat;
         objpmodprsn.AV16Prsfec = aP6_Prsfecnac;
         objpmodprsn.AV17Prssex = aP7_Prssex;
         objpmodprsn.AV18Estciv = aP8_Estcivcod;
         objpmodprsn.AV19Prsnro = aP9_Prsnrodep;
         objpmodprsn.AV20Eduniv = aP10_Edunivcod;
         objpmodprsn.AV21Sitlab = aP11_Sitlabcod;
         objpmodprsn.AV23Prsucr = aP12_Prsucr;
         objpmodprsn.AV24Prsdir = aP13_Prsdir1;
         objpmodprsn.AV25Prsdir = aP14_Prsdir2;
         objpmodprsn.AV26Prsref = aP15_Prsrefdir1;
         objpmodprsn.AV27Prsref = aP16_Prsrefdir2;
         objpmodprsn.AV28Paicod = aP17_Paicod1;
         objpmodprsn.AV29Paicod = aP18_Paicod2;
         objpmodprsn.AV30Dptoco = aP19_Dptocod1;
         objpmodprsn.AV31Dptoco = aP20_Dptocod2;
         objpmodprsn.AV32Provco = aP21_Provcod1;
         objpmodprsn.AV33Provco = aP22_Provcod2;
         objpmodprsn.AV34Distco = aP23_Distcod1;
         objpmodprsn.AV35Distco = aP24_Distcod2;
         objpmodprsn.AV36Prsmai = aP25_Prsmai1;
         objpmodprsn.AV37Prsmai = aP26_Prsmai2;
         objpmodprsn.AV38Prsmai = aP27_Prsmai3;
         objpmodprsn.AV8Prscod = "" ;
         objpmodprsn.initialize();
         Thread execThread;
         execThread = new Thread(new ThreadStart( objpmodprsn.executePrivate ));
         execThread.Start();
         aP28_Prscod=this.AV8Prscod;
      }

      void executePrivate( )
      {
         /* GeneXus formulas */
         /* Output device settings */
         cmP00072 = new GxDbCommand(dsDefault.Db, "SELECT [PrsCod], [TIPDOCCOD], [PrsNroDoc], [PrsPriNom], [PrsSegNom], [PrsApePat], [PrsApeMat], [PrsFecNac], [PrsSex], [EstCivCod], [PrsNroDep], [EduNivCod], [SitLabCod], [PrsUUM], [PrsFUM], [PrsHUM], [PrsDir1], [PrsDir2], [PrsRefDir1], [PrsRefDir2], [PaiCod1], [PAICOD2], [DPTOCOD1], [DPTOCOD2], [PROVCOD1], [PROVCOD2], [DISTCOD1], [DISTCOD2], [PrsEmai1], [PrsEmai2], [PrsEmai3] FROM [MMPRS10] (UPDLOCK) WHERE [PrsCod] = ? ", 1, dsDefault,"ModPrsN","P00072" );
         cmP00072.DbCommand.FetchSize = 1;
         cmP00072.DbCommand.BindString(0,10);
         cmP00072.DbCommand.BindShort(1);
         cmP00072.DbCommand.BindString(2,15);
         cmP00072.DbCommand.BindString(3,15);
         cmP00072.DbCommand.BindString(4,15);
         cmP00072.DbCommand.BindString(5,20);
         cmP00072.DbCommand.BindString(6,20);
         cmP00072.DbCommand.BindDate(7);
         cmP00072.DbCommand.BindString(8,1);
         cmP00072.DbCommand.BindShort(9);
         cmP00072.DbCommand.BindShort(10);
         cmP00072.DbCommand.BindShort(11);
         cmP00072.DbCommand.BindShort(12);
         cmP00072.DbCommand.BindString(13,10);
         cmP00072.DbCommand.BindDate(14);
         cmP00072.DbCommand.BindString(15,8);
         cmP00072.DbCommand.BindString(16,200);
         cmP00072.DbCommand.BindString(17,200);
         cmP00072.DbCommand.BindString(18,200);
         cmP00072.DbCommand.BindString(19,200);
         cmP00072.DbCommand.BindString(20,3);
         cmP00072.DbCommand.BindString(21,3);
         cmP00072.DbCommand.BindString(22,3);
         cmP00072.DbCommand.BindString(23,3);
         cmP00072.DbCommand.BindString(24,3);
         cmP00072.DbCommand.BindString(25,3);
         cmP00072.DbCommand.BindString(26,3);
         cmP00072.DbCommand.BindString(27,3);
         cmP00072.DbCommand.BindString(28,100);
         cmP00072.DbCommand.BindString(29,100);
         cmP00072.DbCommand.BindString(30,100);
         cmP00072.AddParameter(1,3,10,0,ParameterDirection.Input);   // GX_SQL_CHAR  GX_CS_STRING
         cmP00072.SetParameter(0,AV8Prscod);
         cmP00072.ErrorMask = GxErrorMask.Lock;
         cmP00072.FetchData( out P00072);
         while ( cmP00072.HasMoreRows )
         {
            A35PrsCod = dsDefault.Db.GetString(cmP00072, P00072, 0) ;
            A53TIPDOCC = dsDefault.Db.GetShort(cmP00072, P00072, 1) ;
            A55PrsNroD = dsDefault.Db.GetString(cmP00072, P00072, 2) ;
            A57PrsPriN = dsDefault.Db.GetString(cmP00072, P00072, 3) ;
            A58PrsSegN = dsDefault.Db.GetString(cmP00072, P00072, 4) ;
            A59PrsApeP = dsDefault.Db.GetString(cmP00072, P00072, 5) ;
            A60PrsApeM = dsDefault.Db.GetString(cmP00072, P00072, 6) ;
            A61PrsFecN = dsDefault.Db.GetDateTime(cmP00072, P00072, 7) ;
            A63PrsSex = dsDefault.Db.GetString(cmP00072, P00072, 8) ;
            A64EstCivC = dsDefault.Db.GetShort(cmP00072, P00072, 9) ;
            A65PrsNroD = dsDefault.Db.GetShort(cmP00072, P00072, 10) ;
            A66EduNivC = dsDefault.Db.GetShort(cmP00072, P00072, 11) ;
            A67SitLabC = dsDefault.Db.GetShort(cmP00072, P00072, 12) ;
            A83PrsUUM = dsDefault.Db.GetString(cmP00072, P00072, 13) ;
            A81PrsFUM = dsDefault.Db.GetDateTime(cmP00072, P00072, 14) ;
            A82PrsHUM = dsDefault.Db.GetString(cmP00072, P00072, 15) ;
            A238PrsDir = dsDefault.Db.GetString(cmP00072, P00072, 16) ;
            A248PrsDir = dsDefault.Db.GetString(cmP00072, P00072, 17) ;
            A239PrsRef = dsDefault.Db.GetString(cmP00072, P00072, 18) ;
            A249PrsRef = dsDefault.Db.GetString(cmP00072, P00072, 19) ;
            A240PaiCod = dsDefault.Db.GetString(cmP00072, P00072, 20) ;
            A244PAICOD = dsDefault.Db.GetString(cmP00072, P00072, 21) ;
            A241DPTOCO = dsDefault.Db.GetString(cmP00072, P00072, 22) ;
            A245DPTOCO = dsDefault.Db.GetString(cmP00072, P00072, 23) ;
            A242PROVCO = dsDefault.Db.GetString(cmP00072, P00072, 24) ;
            A246PROVCO = dsDefault.Db.GetString(cmP00072, P00072, 25) ;
            A243DISTCO = dsDefault.Db.GetString(cmP00072, P00072, 26) ;
            A247DISTCO = dsDefault.Db.GetString(cmP00072, P00072, 27) ;
            A254PrsEma = dsDefault.Db.GetString(cmP00072, P00072, 28) ;
            A255PrsEma = dsDefault.Db.GetString(cmP00072, P00072, 29) ;
            A256PrsEma = dsDefault.Db.GetString(cmP00072, P00072, 30) ;
            A53TIPDOCC = AV10Tipdoc ;
            A55PrsNroD = AV11Prsnro ;
            A57PrsPriN = AV12Prspri ;
            A58PrsSegN = AV13Prsseg ;
            A59PrsApeP = AV15Prsape ;
            A60PrsApeM = AV14Prsape ;
            A61PrsFecN = AV16Prsfec ;
            A63PrsSex = AV17Prssex ;
            A64EstCivC = AV18Estciv ;
            A65PrsNroD = AV19Prsnro ;
            A66EduNivC = AV20Eduniv ;
            A67SitLabC = AV21Sitlab ;
            A83PrsUUM = AV23Prsucr ;
            A81PrsFUM = DateTimeUtil.ServerDate( context, "DEFAULT") ;
            A82PrsHUM = DateTimeUtil.ServerTime( context, "DEFAULT") ;
            A238PrsDir = AV24Prsdir ;
            A248PrsDir = AV25Prsdir ;
            A239PrsRef = AV26Prsref ;
            A249PrsRef = AV27Prsref ;
            A240PaiCod = AV28Paicod ;
            A244PAICOD = AV29Paicod ;
            A241DPTOCO = AV30Dptoco ;
            A245DPTOCO = AV31Dptoco ;
            A242PROVCO = AV32Provco ;
            A246PROVCO = AV33Provco ;
            A243DISTCO = AV34Distco ;
            A247DISTCO = AV35Distco ;
            A254PrsEma = AV36Prsmai ;
            A255PrsEma = AV37Prsmai ;
            A256PrsEma = AV38Prsmai ;
            cmP00073 = new GxDbCommand(dsDefault.Db, "UPDATE [MMPRS10] SET [TIPDOCCOD]=?, [PrsNroDoc]=?, [PrsPriNom]=?, [PrsSegNom]=?, [PrsApePat]=?, [PrsApeMat]=?, [PrsFecNac]=?, [PrsSex]=?, [EstCivCod]=?, [PrsNroDep]=?, [EduNivCod]=?, [SitLabCod]=?, [PrsUUM]=?, [PrsFUM]=?, [PrsHUM]=?, [PrsDir1]=?, [PrsDir2]=?, [PrsRefDir1]=?, [PrsRefDir2]=?, [PaiCod1]=?, [PAICOD2]=?, [DPTOCOD1]=?, [DPTOCOD2]=?, [PROVCOD1]=?, [PROVCOD2]=?, [DISTCOD1]=?, [DISTCOD2]=?, [PrsEmai1]=?, [PrsEmai2]=?, [PrsEmai3]=?  WHERE [PrsCod] = ?", 1, dsDefault,"ModPrsN","P00073" );
            cmP00073.AddParameter(2,2,4,0,ParameterDirection.Input);   // GX_SQL_NUMERIC  GX_CS_SHORT
            cmP00073.AddParameter(1,3,15,0,ParameterDirection.Input);   // GX_SQL_CHAR  GX_CS_STRING
            cmP00073.AddParameter(1,3,15,0,ParameterDirection.Input);   // GX_SQL_CHAR  GX_CS_STRING
            cmP00073.AddParameter(1,3,15,0,ParameterDirection.Input);   // GX_SQL_CHAR  GX_CS_STRING
            cmP00073.AddParameter(1,3,20,0,ParameterDirection.Input);   // GX_SQL_CHAR  GX_CS_STRING
            cmP00073.AddParameter(1,3,20,0,ParameterDirection.Input);   // GX_SQL_CHAR  GX_CS_STRING
            cmP00073.AddParameter(11,5,10,0,ParameterDirection.Input);   // GX_SQL_TIMESTAMP  GX_CS_DATE
            cmP00073.AddParameter(1,3,1,0,ParameterDirection.Input);   // GX_SQL_CHAR  GX_CS_STRING
            cmP00073.AddParameter(2,2,2,0,ParameterDirection.Input);   // GX_SQL_NUMERIC  GX_CS_SHORT
            cmP00073.AddParameter(2,2,2,0,ParameterDirection.Input);   // GX_SQL_NUMERIC  GX_CS_SHORT
            cmP00073.AddParameter(2,2,3,0,ParameterDirection.Input);   // GX_SQL_NUMERIC  GX_CS_SHORT
            cmP00073.AddParameter(2,2,2,0,ParameterDirection.Input);   // GX_SQL_NUMERIC  GX_CS_SHORT
            cmP00073.AddParameter(1,3,10,0,ParameterDirection.Input);   // GX_SQL_CHAR  GX_CS_STRING
            cmP00073.AddParameter(11,5,10,0,ParameterDirection.Input);   // GX_SQL_TIMESTAMP  GX_CS_DATE
            cmP00073.AddParameter(1,3,8,0,ParameterDirection.Input);   // GX_SQL_CHAR  GX_CS_STRING
            cmP00073.AddParameter(1,3,200,0,ParameterDirection.Input);   // GX_SQL_CHAR  GX_CS_STRING
            cmP00073.AddParameter(1,3,200,0,ParameterDirection.Input);   // GX_SQL_CHAR  GX_CS_STRING
            cmP00073.AddParameter(1,3,200,0,ParameterDirection.Input);   // GX_SQL_CHAR  GX_CS_STRING
            cmP00073.AddParameter(1,3,200,0,ParameterDirection.Input);   // GX_SQL_CHAR  GX_CS_STRING
            cmP00073.AddParameter(1,3,3,0,ParameterDirection.Input);   // GX_SQL_CHAR  GX_CS_STRING
            cmP00073.AddParameter(1,3,3,0,ParameterDirection.Input);   // GX_SQL_CHAR  GX_CS_STRING
            cmP00073.AddParameter(1,3,3,0,ParameterDirection.Input);   // GX_SQL_CHAR  GX_CS_STRING
            cmP00073.AddParameter(1,3,3,0,ParameterDirection.Input);   // GX_SQL_CHAR  GX_CS_STRING
            cmP00073.AddParameter(1,3,3,0,ParameterDirection.Input);   // GX_SQL_CHAR  GX_CS_STRING
            cmP00073.AddParameter(1,3,3,0,ParameterDirection.Input);   // GX_SQL_CHAR  GX_CS_STRING
            cmP00073.AddParameter(1,3,3,0,ParameterDirection.Input);   // GX_SQL_CHAR  GX_CS_STRING
            cmP00073.AddParameter(1,3,3,0,ParameterDirection.Input);   // GX_SQL_CHAR  GX_CS_STRING
            cmP00073.AddParameter(1,3,100,0,ParameterDirection.Input);   // GX_SQL_CHAR  GX_CS_STRING
            cmP00073.AddParameter(1,3,100,0,ParameterDirection.Input);   // GX_SQL_CHAR  GX_CS_STRING
            cmP00073.AddParameter(1,3,100,0,ParameterDirection.Input);   // GX_SQL_CHAR  GX_CS_STRING
            cmP00073.AddParameter(1,3,10,0,ParameterDirection.Input);   // GX_SQL_CHAR  GX_CS_STRING
            /* Using cursor P00073 */
            cmP00073.SetParameter(0,A53TIPDOCC);
            cmP00073.SetParameter(1,A55PrsNroD);
            cmP00073.SetParameter(2,A57PrsPriN);
            cmP00073.SetParameter(3,A58PrsSegN);
            cmP00073.SetParameter(4,A59PrsApeP);
            cmP00073.SetParameter(5,A60PrsApeM);
            cmP00073.SetParameter(6,dsDefault.Db.DbmsTToC(A61PrsFecN));
            cmP00073.SetParameter(7,A63PrsSex);
            cmP00073.SetParameter(8,A64EstCivC);
            cmP00073.SetParameter(9,A65PrsNroD);
            cmP00073.SetParameter(10,A66EduNivC);
            cmP00073.SetParameter(11,A67SitLabC);
            cmP00073.SetParameter(12,A83PrsUUM);
            cmP00073.SetParameter(13,dsDefault.Db.DbmsTToC(A81PrsFUM));
            cmP00073.SetParameter(14,A82PrsHUM);
            cmP00073.SetParameter(15,A238PrsDir);
            cmP00073.SetParameter(16,A248PrsDir);
            cmP00073.SetParameter(17,A239PrsRef);
            cmP00073.SetParameter(18,A249PrsRef);
            cmP00073.SetParameter(19,A240PaiCod);
            cmP00073.SetParameter(20,A244PAICOD);
            cmP00073.SetParameter(21,A241DPTOCO);
            cmP00073.SetParameter(22,A245DPTOCO);
            cmP00073.SetParameter(23,A242PROVCO);
            cmP00073.SetParameter(24,A246PROVCO);
            cmP00073.SetParameter(25,A243DISTCO);
            cmP00073.SetParameter(26,A247DISTCO);
            cmP00073.SetParameter(27,A254PrsEma);
            cmP00073.SetParameter(28,A255PrsEma);
            cmP00073.SetParameter(29,A256PrsEma);
            cmP00073.SetParameter(30,A35PrsCod);
            cmP00073.ExecuteStmt();
            if ( ( cmP00073 != null ) )
            {
               cmP00073.DbCommand.Close();
            }
            dsDefault.Release() ;
            /* Check if program is canceled. */
            /* Exiting from a For First loop. */
            if (true) break;
         }
         if ( ( cmP00072 != null ) )
         {
            cmP00072.DbCommand.Close();
         }
         dsDefault.Release() ;
         this.cleanup();
      }

      public override int getOutputType( )
      {
         return GxReportUtils.OUTPUT_RVIEWER_DLL ;
      }

      protected void cleanup( )
      {
         this.AV8Prscod = AV8Prscod;
         dsDefault.Commit();
         if ( IsMain )
         {
            context.CloseConnections() ;
         }
      }

      public override void initialize( )
      {
         A35PrsCod = "" ;
         A53TIPDOCC = 0 ;
         A55PrsNroD = "" ;
         A57PrsPriN = "" ;
         A58PrsSegN = "" ;
         A59PrsApeP = "" ;
         A60PrsApeM = "" ;
         A61PrsFecN = (DateTime)(DateTime.MinValue) ;
         A63PrsSex = "" ;
         A64EstCivC = 0 ;
         A65PrsNroD = 0 ;
         A66EduNivC = 0 ;
         A67SitLabC = 0 ;
         A83PrsUUM = "" ;
         A81PrsFUM = (DateTime)(DateTime.MinValue) ;
         A82PrsHUM = "" ;
         A238PrsDir = "" ;
         A248PrsDir = "" ;
         A239PrsRef = "" ;
         A249PrsRef = "" ;
         A240PaiCod = "" ;
         A244PAICOD = "" ;
         A241DPTOCO = "" ;
         A245DPTOCO = "" ;
         A242PROVCO = "" ;
         A246PROVCO = "" ;
         A243DISTCO = "" ;
         A247DISTCO = "" ;
         A254PrsEma = "" ;
         A255PrsEma = "" ;
         A256PrsEma = "" ;
         /* GeneXus formulas. */
         Gx_err = 0 ;
      }

      private short AV10Tipdoc ;
      private short AV18Estciv ;
      private short AV19Prsnro ;
      private short AV20Eduniv ;
      private short AV21Sitlab ;
      private short A53TIPDOCC ;
      private short A64EstCivC ;
      private short A65PrsNroD ;
      private short A66EduNivC ;
      private short A67SitLabC ;
      private short Gx_err ;
      private String AV11Prsnro ;
      private String AV12Prspri ;
      private String AV13Prsseg ;
      private String AV15Prsape ;
      private String AV14Prsape ;
      private String AV17Prssex ;
      private String AV23Prsucr ;
      private String AV24Prsdir ;
      private String AV25Prsdir ;
      private String AV26Prsref ;
      private String AV27Prsref ;
      private String AV28Paicod ;
      private String AV29Paicod ;
      private String AV30Dptoco ;
      private String AV31Dptoco ;
      private String AV32Provco ;
      private String AV33Provco ;
      private String AV34Distco ;
      private String AV35Distco ;
      private String AV36Prsmai ;
      private String AV37Prsmai ;
      private String AV38Prsmai ;
      private String AV8Prscod ;
      private String A35PrsCod ;
      private String A55PrsNroD ;
      private String A57PrsPriN ;
      private String A58PrsSegN ;
      private String A59PrsApeP ;
      private String A60PrsApeM ;
      private String A63PrsSex ;
      private String A83PrsUUM ;
      private String A82PrsHUM ;
      private String A238PrsDir ;
      private String A248PrsDir ;
      private String A239PrsRef ;
      private String A249PrsRef ;
      private String A240PaiCod ;
      private String A244PAICOD ;
      private String A241DPTOCO ;
      private String A245DPTOCO ;
      private String A242PROVCO ;
      private String A246PROVCO ;
      private String A243DISTCO ;
      private String A247DISTCO ;
      private String A254PrsEma ;
      private String A255PrsEma ;
      private String A256PrsEma ;
      private DateTime AV16Prsfec ;
      private DateTime A61PrsFecN ;
      private DateTime A81PrsFUM ;
      private IGxDataStore dsDefault ;
      private GxDbCommand cmP00072 ;
      private IDataReader P00072 ;
      private GxDbCommand cmP00073 ;
      private String aP28_Prscod ;
   }

}
